package com.yuntcm.group6.med_booking.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuntcm.group6.med_booking.entity.Schedule;
import com.yuntcm.group6.med_booking.mapper.ScheduleMapper;
import com.yuntcm.group6.med_booking.service.ScheduleService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScheduleServiceImpl extends ServiceImpl<ScheduleMapper, Schedule> implements ScheduleService {

    @Override
    public List<Schedule> listByDoctorId(Integer doctorId) {
        return baseMapper.selectByDoctorId(doctorId);
    }
}